pfff: allow generic in xhp attributes

Test Plan: unit test included

Reviewers: pieter, zoel, julienv, amenghra

Reviewed By: julienv

Differential Revision: https://phabricator.fb.com/D758556

Task ID: 2230893