Refactor recvfrom code for handling SOCK_DGRAM into zsock_recv_dgram to align with SOCK_STREAM. Add flags parameter, will be used later. Signed-off-by: Stig Bjørlykke <stig.bjorlykke@nordicsemi.no>