Implement getFramebufferAttachmentParameter.