Paris attacks suspect Salah Abdeslam has been charged with attempted murder in a shootout with police in Brussels days before his capture last month.