Casimir-like interactions and surface anchoring duality in bookshelf geometry of smectic-A liquid crystals