Emergency funding of more than £17m has been allocated to Stormont departments to help deal with the costs of Storm Éowyn.