Allow @font-face and general @-directives inside @if-blocks (#11649)

Change-Id: Ifa844e7bf8add886792b39c016cc2c9aa3d94b0c