Fix bug in cgStoreTypedValue

Summary: This was introduced by D1401528 but missed because of a sandcastle
bug.

Reviewed By: @dariorussi

Differential Revision: D1407977