Sweden plans to provide humanitarian assistance to Gaza via other channels after flagging it will stop funding the UN's refugee agency for Palestinians (UNRWA).