If specified, --gpu flag overrides SolverParameter solver_mode.

fixes #925