Through constitutional amendment: Govt talking to opposition for extending military courts