graphics/wayland: convert to USES=meson
- Drop autotools patches
- Drop sys/param.h check as FreeBSD is defined by compiler
- Apply upstream fix for tests randomly failing to build
PR: 244071
Tested by: mikael (13.0 powerpc64), pkubaj (12.1/13.0 powerpc64)
Approved by: x11 (manu, zeising)
Differential Revision: https://reviews.freebsd.org/D23644