mesh: Fix build error with CONFIG_MESH enabled

If CONFIG_MESH is enebled,
NEED_SHA256
CONFIG_SAE
CONFIG_AP
is needed for build.