Anomalous behavior of the quasi-one-dimensional quantum material Na2OsO4 at high pressure