mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure.