Greenberger-Horne-Zeilinger correlation and Bell-type inequality seen from a moving frame