gitlab-ci: Create obj directory for Windows builds
The obj directory is not created anymore when the git repository is
cloned. Create the directory during the build.
Also set the variable "ErrorActionPreference: STOP" to make the build to
fail if an error occurs.
Signed-off-by: Anderson Toshiyuki Sasaki <firstname.lastname@example.org>
Reviewed-by: Andreas Schneider <email@example.com>
(cherry picked from commit 7f5e14698fe16443f2d85a71367899a6a49dd44e)