Bind a texture after creation so that it has a type.
Bind a texture after creation so that it has a type.

If a texture is bound to a framebuffer before any data is set on it, the
texture does not have a type because it has never been bound.  This
generates an INVALID_OPERATION because the attachment type cannot be
validated.

Fixes:
 * Many generated GL_INVALID_OPERATIONs in chromium

BUG=angleproject:884

Change-Id: I4f36f80fecc5a772b6522f8f82e0be9d3758e524
Reviewed-on: https://chromium-review.googlesource.com/273324
Tested-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.org>
Reviewed-by: Brandon Jones <303ddc8529a3012e7fb187d611f08537af0cc183@chromium.org>
Reviewed-by: Kenneth Russell <1ebccd90c2bc76de65b6f830f2128a91ed69fdfb@chromium.org>

csa7mdm/angle,mybios/angle,vvuk/angle,mlfarrell/angle,csa7mdm/angle,mlfarrell/angle,mybios/angle,bsergean/angle,larsbergstrom/angle,mybios/angle,bsergean/angle,crezefire/angle,crezefire/angle,mikolalysenko/angle,mlfarrell/angle,ecoal95/angle,csa7mdm/angle,mybios/angle,ecoal95/angle,MSOpenTech/angle,domokit/waterfall,ppy/angle,ppy/angle,ppy/angle,MSOpenTech/angle,domokit/waterfall,ecoal95/angle,MSOpenTech/angle,ppy/angle,bsergean/angle,mikolalysenko/angle,larsbergstrom/angle,MSOpenTech/angle,ecoal95/angle,csa7mdm/angle,larsbergstrom/angle,crezefire/angle,bsergean/angle,vvuk/angle,mikolalysenko/angle,larsbergstrom/angle,vvuk/angle,mlfarrell/angle,crezefire/angle,vvuk/angle,ecoal95/angle,mikolalysenko/angle