Measurement-base-independent test for genuine multipartite entanglement