An extension of Birkhoff--James orthogonality relations in semi-Hilbertian space operators