Planar Hall effect in the Weyl semimetal GdPtBi