[PATCH] hid: Validate pointer passed into GetCaps