Measurement of the top quark mass using single top quark events in proton-proton collisions at sqrt(s) = 8 TeV